#ifndef CRC_H_
#define CRC_H_


unsigned char cal_crc8(unsigned char *ptr, unsigned int len);
unsigned char calc_crc8(unsigned char crc, unsigned char *ptr, unsigned int len);
unsigned int  calc_crc32(unsigned int crc, const void *buf, unsigned int size);

#endif


